﻿using QMERP.SeedWork;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QMERP.Domain.Entities
{
    /// <summary>
    /// 字典类型
    /// </summary>
    public class DictionaryCategory : FullEntity<long>
    {
        public DictionaryCategory() 
        {
            Dictionaries = new HashSet<Dictionary>();
        }
        /// <summary>
        /// 字典类型
        /// </summary>
        public string Category { get; set; } = "";
        /// <summary>
        /// 字典类型名称
        /// </summary>
        public string Name { get; set; } = "";
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 字典值列表
        /// </summary>
        public virtual ICollection<Dictionary> Dictionaries { get; set; }
    }
}
